import { createRouter, createWebHashHistory } from "vue-router"

import Jiechuan from "@/views/roles/Jiechuan.vue"
import Taizai from "@/views/roles/Taizai.vue"
import Luanbu from "@/views/roles/Luanbu.vue"
import Home from "@/views/Home.vue"

const router = createRouter({
	history: createWebHashHistory(import.meta.env.BASE_URL),
	routes: [
		{
			path: "/",
			name: "home",
			component: Home,
		},
		{
			path: "/jiechuan",
			name: "jiechuan",
			component: Jiechuan,
		},
		{
			path: "/taizai",
			name: "taizai",
			component: Taizai,
		},
		{
			path: "/luanbu",
			name: "luanbu",
			component: Luanbu,
		},
	],
})

export default router
